import React from 'react'
import { Button } from 'react-vant';
import { useNavigate } from 'react-router-dom';

const OnFoiundView = () => {
  const navigate = useNavigate();

  return (
    <div className='on_found_box'>
      <h3>no found</h3>
      <div>
        页面不存在，请返回重新登录
      </div>
      <Button onClick={() => navigate("/login")} round={true} type='primary' size='small'>
        返回登录
      </Button>
    </div>
  )
}

export default OnFoiundView;
